package com.design.factory;

import com.design.product.connection.IConnection;
import com.design.product.oracle.OracleConnection;
import com.design.product.dao.UserDao;
import com.design.product.oracle.OracleUserDao;

/**
 * Oracle数据工厂
 */
public class OracleDataFactory implements DataFactory{
    @Override
    public IConnection createConnection() {
        return new OracleConnection();
    }

    @Override
    public UserDao createUserDao() {
        return new OracleUserDao();
    }
}
